package cn.starlightsoftware.sherly.controller.admin.file.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;

/**
 * @author 谷子毅
 * @date 2024/5/27
 */
@Data
public class FileUploadReqVO {

    @Schema(description = "文件", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull
    private MultipartFile file;

    @Schema(description = "路径", example = "/path")
    private String path;

}
